QuickOPC User's Guide and Reference
OpaqueData Constructor(Byte[],Int32)



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.DataTypeModel Namespace > OpaqueData Class > OpaqueData Constructor : OpaqueData Constructor(Byte[],Int32)
The current opaque value, expressed as an array of bytes.
Size in bits of the resulting value.
Initializes a new instance of the class. Initializes a new instance of the class with given byte array and size in bits.
Syntax
'Declaration
 
Public Function New( _
   ByVal byteArray() As Byte, _
   ByVal sizeInBits As Integer _
)
'Usage
 
Dim byteArray() As Byte
Dim sizeInBits As Integer
 
Dim instance As New OpaqueData(byteArray, sizeInBits)
public OpaqueData( 
   byte[] byteArray,
   int sizeInBits
)
public:
OpaqueData( 
   array<byte>^ byteArray,
   int sizeInBits
)

Parameters

byteArray
The current opaque value, expressed as an array of bytes.
sizeInBits
Size in bits of the resulting value.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also